package com.zmhc.product.domain;

import java.math.BigDecimal;

import com.zmhc.common.core.annotation.Excel;
import com.zmhc.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 商品分类对象 zmhc_category
 *
 * @author ruoyi
 * @date 2023-12-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Category extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 佣金比例
     */
    @Excel(name = "佣金比例")
    private BigDecimal commissionRate;

    /**
     * 分类图标
     */
    @Excel(name = "分类图标")
    private String image;

    /**
     * 层级
     */
    @Excel(name = "层级")
    private Long level;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String name;

    /**
     * 父ID
     */
    @Excel(name = "父ID")
    private Long parentId;

    /**
     * 排序值
     */
    @Excel(name = "排序值")
    private Long sortOrder;

    /**
     * 是否支持频道
     */
    @Excel(name = "是否支持频道")
    private String supportChannel;

    /**
     * 删除状态 0=正常 2=已删除
     */
    private String delFlag;

}
